package com.dailyblue.javaee.service.impl;

import com.dailyblue.javaee.bean.User;
import com.dailyblue.javaee.dao.UserDAO;
import com.dailyblue.javaee.service.UserService;

public class UserServiceImpl implements UserService {

    private UserDAO userDAO = new UserDAO();

    @Override
    public User login(String name, String password) {
        return userDAO.login(name, password);
    }
}